
<h2>Total Bonus Anda</h2>
<div class="list">
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th rowspan="3">Jenis Bonus</th>
            <th rowspan="3" width="100">Bonus Diperoleh</th>
            <th colspan="3">Bonus Direkap (E-Wallet) <font color="aa0000">*</font></th>
        </tr>
        <tr>
            <th rowspan="2" width="100">Utama (80%)</th>
            <th colspan="2" width="100">Alokasi Produk (20%)</th>
        </tr>
        <tr>
            <th width="100">Produk</th>
            <th width="100">Voucher</th>
        </tr>
        <tr>
            <td><strong>Bonus Sponsor</strong></td>
            <td align="right"><?php echo number_format($summary['sponsor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['sponsor']['ewalet_cash']); ?></td>
            <td align="right"><?php echo number_format($summary['sponsor']['ewallet_products']); ?></td>
            <td align="right"><?php echo number_format($summary['sponsor']['ewallet_voucher']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Extra Sponsor</strong></td>
            <td align="right"><?php echo number_format($summary['extra_sponsor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['extra_sponsor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['extra_sponsor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['extra_sponsor']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Royalti Produk</strong></td>
            <td align="right"><?php echo number_format($summary['royalti_produk']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['royalti_produk']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['royalti_produk']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['royalti_produk']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Prestasi Distributor</strong></td>
            <td align="right"><?php echo number_format($summary['prestasi_distributor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['prestasi_distributor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['prestasi_distributor']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['prestasi_distributor']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Couple/Pasangan</strong></td>
            <td align="right"><?php echo number_format($summary['couple']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['couple']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['couple']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['couple']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Sharing Couple</strong></td>
            <td align="right"><?php echo number_format($summary['sharing_couple']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['sharing_couple']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['sharing_couple']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['sharing_couple']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Spillover</strong></td>
            <td align="right"><?php echo number_format($summary['spillover']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['spillover']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['spillover']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['spillover']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Prestasi Factory</strong></td>
            <td align="right"><?php echo number_format($summary['prestasi_factory']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['prestasi_factory']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['prestasi_factory']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['prestasi_factory']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Level Board</strong></td>
            <td align="right"><?php echo number_format($summary['level_board']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['level_board']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['level_board']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['level_board']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus Cycle Board</strong></td>
            <td align="right"><?php echo number_format($summary['cycle_board']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['cycle_board']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['cycle_board']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['cycle_board']['summary']); ?></td>
        </tr>
        <tr>
            <td><strong>Bonus DRP</strong></td>
            <td align="right"><?php echo number_format($summary['drp']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['drp']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['drp']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['drp']['summary']); ?></td>
        </tr>
        <tr class="title">
            <td><strong>TOTAL</strong></td>
            <td align="right"><?php echo number_format($summary['total']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['total']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['total']['summary']); ?></td>
            <td align="right"><?php echo number_format($summary['total']['summary']); ?></td>
        </tr>
    </table>
</div>
<div style="margin-top:5px;"><small><i><font color="aa0000">* Bonus Direkap (E-Wallet) adalah akumulasi bonus yang masuk ke E-Wallet setelah dipotong PPh dan Admin Fee.</font></i></small></div>
<br /><br /><br />
